import Vue from 'vue';
import App from './App';
import uView from '@/uni_modules/uview-ui'
Vue.config.productionTip = false;
import filters from './filters/index.js';
import util from './common/js/util.js'
import config from './common/js/config.js'

Vue.prototype.UTILS = util;
Vue.prototype.COFIG = config;
Vue.use(uView)
uni.$u.config.unit = 'rpx'
App.mpType = 'app';
// 过滤器遍历
Object.keys(filters).forEach(key => Vue.filter(key, filters[key]));
const app = new Vue({
  ...App,
  filters
});
app.$mount();